package com.yumi.dao;

import com.yumi.dao.PetDao;
import com.yumi.entity.Pet;
import org.springframework.stereotype.Repository;

@Repository("petDaoMySql")
public class PetDaoMySQLImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        System.out.println("将宠物“"+ pet.getName() + "”插入到MySQL数据库中");
        return 1;
    }
}
